/*
 * Copyright 2005-2007 Pulse Technologies. Tutti i diritti riservati.
 */

package org.obsidianrad.server.services.obj2db.hessian;

import java.io.Serializable;

/**
 * 
 * @author eliosh
 * @version $Rev: 4 $
 * @lastautorcommit $Author: eliosh $
 * @lastdatecommit $Date: 2009-10-31 12:37:28 +0100(sab, 31 ott 2009) $
 */
public class CriteriaHessianMap implements Serializable {

	private static final long serialVersionUID = -7122989501080408915L;

	private String condition;
	private String property;
	private Object obj1;
	private Object obj2;
	private Object[] objList;
	
	public CriteriaHessianMap(){
		
	}

	public CriteriaHessianMap(String cond){
		this.condition = cond;
	}
	
	public CriteriaHessianMap(String cond, Object val, String prop){
		this.condition = cond;
		this.obj1 = val;
		this.property = prop;
	}

	public CriteriaHessianMap(String cond, Object[] val, String prop){
		this.condition = cond;
		this.objList = val;
		this.property = prop;
	}

	public CriteriaHessianMap(String cond, Object val1, Object val2, String prop) {
		this(cond, val1, prop);
		this.obj2 = val2;
	}

	public String getCondition() {
		return condition;
	}
	public void setCondition(String condition) {
		this.condition = condition;
	}
	public String getProperty() {
		return property;
	}
	public void setProperty(String property) {
		this.property = property;
	}
	public Object getObj1() {
		return obj1;
	}
	public void setObj1(Object obj1) {
		this.obj1 = obj1;
	}
	public Object getObj2() {
		return obj2;
	}
	public void setObj2(Object obj2) {
		this.obj2 = obj2;
	}
	public Object[] getObjList() {
		return objList;
	}
	public void setObjList(Object[] objList) {
		this.objList = objList;
	}
	
	
	
	
}
